#include "../include/header.h"
int main(int argc, char* argv[]){
	ARGS_CHECK(argc, 2);
	printf("hello");
	int fd = open(argv[1], O_RDWR);
	ERROR_CHECK(fd, -1, "open");

	close(STDOUT_FILENO);
	int fd_cp = dup(fd);
	printf("fd_cp = %d", fd_cp);
	printf("world");
	

	fflush(stdout);
	close(fd_cp);
	close(fd);

	return 0;
}